<template>
  <view>
    <view class="smart-panel-h">
      <!-- 点击按钮触发跳转 -->
      <button @click="goToLoginRegister">登录</button>
	  <button @click="goToUrbex">城市探索</button>
	  <button @click="goToshowimage">显示图片</button>
	  <button @click="goToshowvalue">组件传值</button>
    </view>
  </view>
</template>

<script>
export default {
  data() {
    return {};
  },
  methods: {
    // 跳转至登录注册页面
    goToLoginRegister() {
      uni.navigateTo({
        url: '/pages/LoginRegister/LoginRegister'
      });
    },
	goToUrbex() {
	  uni.navigateTo({
	    url: '/pages/index/tabBar/demos/Urbex/Urbex'
	  });
	},
	goToshowimage() {
	  uni.navigateTo({
	    url: '/pages/index/tabBar/demos/showimage/showimage'
	  });
	},
	goToshowvalue() {
	  uni.navigateTo({
	    url: '/pages/index/tabBar/demos/PassByValue/PassByValue'
	  });
	}
  }
};
</script>

<style>

</style>
